﻿//-----------------------------------------------------------------------
// <copyright file="UsageStatistics.cs" company="Redmist">
//     Copyright (c) Damien T Smith. All rights reserved.
// </copyright>
// <author>Damien Smith</author>
//-----------------------------------------------------------------------

namespace Redmist.UsageMonitor.UsageData
{
    /// <summary>Stores basic usage statistics for a billing period.</summary>
    public class UsageStatistics
    {
        /// <summary>Initializes a new instance of the UsageStatistics class.</summary>
        /// <param name="peak">The amount of peak data consumed so far during the billing period.</param>
        /// <param name="countedOffPeak">The amount of counted off peak data consumed so far during the billing period.</param>
        public UsageStatistics(int peak, int countedOffPeak)
        {
            this.Peak = peak;
            this.CountedOffPeak = countedOffPeak;
        }

        /// <summary>Gets the amount of peak data consumed so far during the billing period.</summary>
        public int Peak { get; private set; }

        /// <summary>Gets the amount of counted off peak data consumed so far during the billing period.</summary>
        public int CountedOffPeak { get; private set; }
    }
}
